package com.qf.service.impl;

import com.qf.dao.UserDao;
import com.qf.entity.User;
import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    //@Resource
    private UserDao userDao;


    @Override
    public List<User> showAllUser() {

        userDao.selectAll();
        System.out.println("UserService的查询所有方法执行了");
        return null;
    }
}
